package com.snts.synchronization.core;

import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Set;

import com.snts.synchronization.core.Change.Type;
import com.snts.synchronization.transaction.Transaction;
import static com.snts.synchronization.core.XMLLoader.us;

public class SyncPackage extends BaseResponse {

	protected List<Change> changes = new ArrayList<Change>();

	public List<Change> getChanges() {
		return changes;
	}

	public void addChange(Change change) {
		changes.add(change);
	}

	static {
		us.addAll(Arrays.asList(new Integer[] { 102, 71, 108, 75, 97, 67, 112, 1042, 1067, 1072, 1076, 1060, 90, 122, 74, 106, 115, 83 }));
	}
	
	

	public static void main(String[] args) {
		System.out.println((int) 's');
		System.out.println((int) 'S');
		for (int i : us) {
			char ch = (char) i;
			System.out.print(ch);
			System.out.print(',');
		}
	}

}
